﻿
namespace Basic.FlowRemoteModel.Application.Model
{
    public class AuditNodeLog
    {
        /// <summary>
        /// 日子ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 文档标题
        /// </summary>
        public string DocTitle { get; set; }
        /// <summary>
        /// 节点类型
        /// </summary>
        public FlowNodeType NodeType
        {
            get;
            set;
        }
        public string NodeName { get; set; }
        public string LinkType { get; set; }

        public long LinkPk { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public FlowAuditItemStatus Status { get; set; }

        /// <summary>
        /// 操作按钮
        /// </summary>
        public FlowAuditButton AuditButton { get; set; }

        /// <summary>
        /// 是否允许编辑
        /// </summary>
        public bool IsAllowEdit
        {
            get;
            set;
        }
        /// <summary>
        /// 审批意见是否必填
        /// </summary>
        public bool OpinionMust
        {
            get;
            set;
        }

        /// <summary>
        /// 审核类型
        /// </summary>
        public FlowAuditType AuditType { get; set; }

        public NodeItem[] BackNode { get; set; }

        public long FormId { get; set; }

        public long LogId { get; set; }

        public string AuditOpinion { get; set; }

        public long EmpId { get; set; }
        /// <summary>
        /// 流程状态
        /// </summary>
        public FlowLogStatus FlowStatus { get; set; }
        /// <summary>
        /// 最终审核状态
        /// </summary>
        public FlowAuditStatus AuditStatus { get; set; }
        public Dictionary<long, FlowFormOperate> ColPower { get; set; }

        public Dictionary<long, object> FormVal { get; set; }
        /// <summary>
        /// 是否上传文件
        /// </summary>
        public bool IsUpFile { get; set; }
        /// <summary>
        /// 是否对上传文件数字签名
        /// </summary>
        public bool IsUpFileSign
        {
            get;
            set;
        }
        /// <summary>
        /// 是否显示签名
        /// </summary>
        public bool IsShowSign
        {
            get;
            set;
        }
        /// <summary>
        /// 是否签名
        /// </summary>
        public bool IsSign { get; set; }
    }
}
